//
//  LZRestaurantTableViewCell.h
//  laziz_Consumer
//
//  Created by XMac on 16/10/24.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger ,CellType) {
    CellType_Normal,
    CellType_MyToBeReviewed,
    CellType_MyFavorites
};

@protocol LZRestaurantTableViewCellButtonClickDelegate <NSObject>

- (void)clickButtonWithModel:(id)model andIndexPath:(NSIndexPath*)indexPath andResultBlock:(void(^)(BOOL isFreshButton))resultBlock;

@end

@class LZRestaurantListModel;

@interface LZRestaurantTableViewCell : UITableViewCell

@property (nonatomic ,strong) LZRestaurantListModel *model;

@property (nonatomic ,assign) CellType type;
@property (nonatomic ,assign) BOOL isShowDistance;
@property (nonatomic ,strong) NSIndexPath *indexPath;
@property (nonatomic ,weak) id<LZRestaurantTableViewCellButtonClickDelegate> delegate;

@end
